﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _2021_5_13.BookManagement
{
    class Books
    {
        public string ISBN { get; set; }
        public string BookName { get; set; }
        public double Price { get; set; }
        public string PubCom { get; set; }
        public string Author { get; set; }

        public Books(string isbn , string bookName , double price , string pubCom , string author)
        {
            this.ISBN = isbn;
            this.BookName = bookName;
            this.Price = price;
            this.PubCom = pubCom;
            this.Author = author;
        }

        public Books() { }

        public void Print()
        {
            Console.WriteLine("该书的ISBN为:{0}, 书名为:{1}, 价格为:{2}, 出版社为:{3}, 作者为:{4}", this.ISBN, this.BookName, this.Price, this.PubCom, this.Author);
        }

    }
}
